package com.ruoyi.jihuo.api;

import com.ruoyi.jihuo.domain.JhTmAccount;
import com.taobao.top.BaseTopApiRequest;
import com.taobao.top.BaseTopApiResponse;
import com.taobao.top.TopApiClient;

import java.io.IOException;
import java.util.Map;

public interface ApiStrategy {
    BaseTopApiResponse execute(TopApiClient client, BaseTopApiRequest request, JhTmAccount jhTmAccount) throws IOException;

    BaseTopApiRequest setParams(String api, Map<String, Object> paramMap);
}
